package com.young.shop.pojo.entity;

import java.util.ArrayList;

//订单
public class OrderIdAndGoodsId {
    public Long OrderId;

    public ArrayList<Integer> GoodsIdList;

    public OrderIdAndGoodsId(Long orderId, Integer GoodsId) {
        this.GoodsIdList = new ArrayList<Integer>();
        OrderId = orderId;
        GoodsIdList.add(GoodsId);
    }

    @Override
    public String toString() {
        return "OrderIdAndGoodsId{" +
                "OrderId=" + OrderId +
                ", GoodsIdList=" + GoodsIdList +
                '}';
    }
}
